package com.uyayo.framework.captcha.model;

import java.awt.image.BufferedImage;

/**
 * 滑块验证码
 * @author hfj
 * @date 2019/5/11
 */
public class SliderCaptcha extends Captcha {

    private static final long serialVersionUID = -1403381866038033164L;
    /**
     * 目标滑块图片
     */
    private BufferedImage sliderImage;

    private ClickPoint clickPoint;

    public BufferedImage getSliderImage() {
        return sliderImage;
    }

    public void setSliderImage(BufferedImage sliderImage) {
        this.sliderImage = sliderImage;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("SliderCaptcha{");
        sb.append("sliderImage=").append(sliderImage);
        sb.append(", clickPoint=").append(clickPoint);
        sb.append('}');
        return sb.toString();
    }

    public ClickPoint getClickPoint() {
        return clickPoint;
    }

    public void setClickPoint(ClickPoint clickPoint) {
        this.clickPoint = clickPoint;
    }

}
